<script setup>
import { useRouter, useRoute } from "vue-router";
const router = useRouter();
const route = useRoute();
const goToDaping = () => {
  let routeUrl = router.resolve({ path: "/Digital/Digital" });
  window.open(routeUrl.href, "_blank");
};
</script>

<template>
  <VCard class="myBox" >
    <VCardText class="d-flex justify-space-between">
      <div >
        <button @click="goToDaping" class="myBtn">立即查看</button>
      </div>
    </VCardText>
  </VCard>
</template>

<style lang="scss" scoped>
.myBox {
  position: relative;
  background: url("@/assets/images/分组 1.png") no-repeat 0 0 / 100% 100%;
}

.myBtn {
  position: absolute;
  border-radius: 10px;
  background-color: #1f2128;
  block-size: 40px;
  color: #fff;
  inline-size: 200px;
  inset-block-start: 80%;
  inset-inline-start: 160px;
  transform: translate(-50%, -50%);
}
</style>
